var getFFVersion=navigator.userAgent.substring(navigator.userAgent.indexOf("Firefox")).split("/")[1];
var FFextraHeight=getFFVersion>=0.1? 16 : 0;
function dyniframesize(iframename) 
{
	var pTar = null;
	if (document.getElementById)
	{
		pTar = document.getElementById(iframename);
	}
	else
	{
		eval('pTar = ' + iframename + ';');
	}
	if (pTar && !window.opera)
	{
		pTar.style.display="block";
		if (pTar.contentDocument && pTar.contentDocument.body.offsetHeight)
		{
			pTar.height = pTar.contentDocument.body.offsetHeight+FFextraHeight + 1;
		}
		else if (pTar.Document && pTar.Document.body.scrollHeight)
		{
			pTar.height = pTar.Document.body.scrollHeight + 1;
		}
	}
}